From: Carlos Garnacho Date: Tue, 27 Nov 2018 12:34:22 +0000 (+0100) Subject: shell: Drop some unused headers and Gdk variables X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~82 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0fdfebdb676473c0b9e9a9af5bae6c508eabd526;p=gnome-shell.git shell: Drop some unused headers and Gdk variables https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/317 --- diff --git a/src/main.c b/src/main.c index 01155777c..245837783 100644 --- a/src/main.c +++ b/src/main.c @@ -11,8 +11,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/src/shell-recorder.c b/src/shell-recorder.c index a80a00a23..9bf36e6db 100644 --- a/src/shell-recorder.c +++ b/src/shell-recorder.c @@ -12,7 +12,6 @@ #include #include -#include #include #include @@ -52,8 +51,6 @@ struct _ShellRecorder { int stage_width; int stage_height; - GdkScreen *gdk_screen; - int pointer_x; int pointer_y; @@ -210,8 +207,6 @@ shell_recorder_init (ShellRecorder *recorder) shell_recorder_src_register (); - recorder->gdk_screen = gdk_screen_get_default (); - recorder->memory_target = get_memory_target(); recorder->a11y_settings = g_settings_new (A11Y_APPS_SCHEMA); diff --git a/src/shell-util.c b/src/shell-util.c index ed6593078..95d9f8e14 100644 --- a/src/shell-util.c +++ b/src/shell-util.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c index f51bea370..a0ba88450 100644 --- a/src/shell-window-tracker.c +++ b/src/shell-window-tracker.c @@ -5,10 +5,6 @@ #include #include -#include -#include -#include -#include #include #include #include